import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import { resolve } from 'path';
import { svgBuilder } from './src/plugins/svgBuilder';
const path = require('path');

export default defineConfig({
    plugins: [vue(), svgBuilder('./src/assets/svgs/')],
    server: {
        port: 8046,
        host: '0.0.0.0',
    },
    resolve: {
        alias: {
            vue: 'vue/dist/vue.esm-bundler.js',
            '@': resolve(__dirname, './src'),
        },
    },
});
